<script type="text/javascript">
	function showUser(str)
	{
	if (str=="")
	  {
	  document.getElementById("table").innerHTML="";
	  return;
	  } 
	if (window.XMLHttpRequest)
	  {// code for IE7+, Firefox, Chrome, Opera, Safari
	  xmlhttp=new XMLHttpRequest();
	  }
	else
	  {// code for IE6, IE5
	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  }
	xmlhttp.onreadystatechange=function()
	  {
	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	    {
	    document.getElementById("table").innerHTML=xmlhttp.responseText;
	    }
	  }
	xmlhttp.open("GET","Controller.php?action=showRankUser&number="+str,true);
	xmlhttp.send();
	}
</script>

<form>
<select name="users" onchange="showUser(this.value)">
<option value="">Number</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
</select>
</form>

<div id='table'>
</div>